#include "Genuuid.h"





CGenuuid :: CGenuuid()
{
  m_genuuid = NULL;
  m_uuid = 0;
}


CGenuuid :: ~CGenuuid()
{
   
}

CGenuuid * CGenuuid :: GetIntance()
{
    if(NULL == m_genuuid)
         m_genuuid = new CGenuuid();
    return m_genuuid;
}

int CGenuuid :: Genuuid()
{
   lock_guard<mutex> lock(m_mutex);
   return m_uuid++;
}